package com.multithreading.Thread_001;

/**
 * @author zx
 * @version 1.0
 * @package_name: com.multithreading.Thread_001
 * @date 2024/5/13 17:25
 */
public class MyThread extends Thread {
    @Override
    public void run() {
        //线程执行的代码
        for (int i = 1; i <= 100; i++) {
            System.out.println(getName() + "线程执行中--" + i);
        }
    }
}
